package com.ccys.cms.service.corporateAndInsurance;

import com.ccys.common.vo.ResponseResult;
import com.ccys.db.dto.corporateAndInsurance.GroupingDto;
import com.ccys.db.entity.TblGrouping;
import com.ccys.db.rely.service.BaseService;
import com.ccys.db.vo.corporateAndInsurance.GroupingPageQueryVo;
import com.github.pagehelper.PageInfo;

import java.text.ParseException;

/**
 * @program: WhiteCoat
 * @description: 分组接口
 * @author: ZhangJingCan
 * @create: 2023-12-20 16:49
 **/
public interface GroupingService extends BaseService<TblGrouping> {
    ResponseResult saveGrouping(GroupingDto dto) throws ParseException;

    ResponseResult deleteGrouping(GroupingDto dto);

    ResponseResult updateGroupingStatus(GroupingDto dto);

    ResponseResult<PageInfo<GroupingPageQueryVo>, Object> findPageGrouping(GroupingDto dto);
}
